package com.xs.annoation;

import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.annotation.Reference;
import com.xs.service.IUserService;

/**
 * @Title: <P>AnnotationAction.java</P>
 * @Package <P>com.xs.annoation</P>
 * @Description: <P>TODO该类...</P>
 * @author renweiping
 * @date 2019年2月28日 下午5:06:25
 * @version 1.0
 */

@Component("annotationAction")
public class AnnotationAction {

    @Reference
    private IUserService IUserService;
    
    public String doSayHello(String name) {
        return IUserService.sayHello(name);
    }
}
